import './index.css';
import {change} from './base.js'

function create(){
    const elem = document.createElement('div');
    elem.classList.add('root');
    elem.innerHTML = 'Hello World';
    document.body.appendChild(elem);
}
create();
change();
if (module.hot) {
  module.hot.accept('./base.js', function() {
    console.log('Accepting the updated library module!');
    change();
  })
}